The default number of colors in the terminal of the VPS seems to be low. The support for Molokai has been bad.After finding out: Vim terminal mode defaults to 16 colors, and Molokai for 256 color schemeI thought it was a hardware problem, there was no workaround, until one day I added the following sentence to the config file:Set t_co=256Set the terminal support
synchronized to the local. Sync them to local "11":
~/.vim$ git submodule init~/.vim$ git submodule update
The previous command function is "registers the Submodule".
The latter function is "Checks out" of the version of each plugin ' s repository which is committed to the. Vim repository before "., it will download the various plug-ins to the To
6. How to inst
need to compile the installation configuration topic
To modify Colortheme in VIMRC, you can use Molokai (familiar with the children's shoes accustomed to SUBLIMETEXT2)
The default configuration is solarized Dark theme
Want to modify the terminal color to solarized can refer to the screenshot here
Solarized Theme
Molokai Topic Custom shortcut key description
The following shortcut keys = =
F1 off, prevent
http://blog.csdn.net/pipisorry/article/details/395084171. Replace VI with VIMVim is more powerful than VI, Vim is a superset of VI, and can solve many of the problems of habit, so it is necessary to use Vim to replace VI. Simply speaking, you can directly use the "Alias Vi=vim" command, but this can only be useful in this launch, the next time after the start, t
g:ycm_key_list_select_completion = [' '
, '
]
Let g:ycm_key_list_previous_completion = ["
]
Let g:ycm_key_invoke_completion = "
"Ultisnips settingLet g:ultisnipsexpandtrigger= "
"
Let g:ultisnipsjumpforwardtrigger= "
"
Let g:ultisnipsjumpbackwardtrigger= "
"
This allows the ycm to make a list item forward selection by a carriage return and a downward arrow, which is reversed by the up arrow
:
Exit command is, press ESC to jump to command mode, and then enter: Q (not saved) or: Wq (save) exit. more exit Commands:
: w save file but not exit VI: W file will be modified to save in file, do not exit VI: w! Mandatory save, do not launch VI: Wq save file and Exit VI: wq! Force file to save and Exit VI: Q Do not save files, exit VI: q! Do not save file, Force exit VI: e! Discard all modifications and edit command history from the last save file
Commands with: and/start with history, you ca
setting in. VIMRC:"YCM SettingsLet g:ycm_key_list_select_completion = [' ', ']Let g:ycm_key_list_previous_completion = ["]Let g:ycm_key_invoke_completion = ' "Ultisnips settingLet g:ultisnipsexpandtrigger= "Let g:ultisnipsjumpforwardtrigger= "Let g:ultisnipsjumpbackwardtrigger= "This allows the ycm to make a list item forward selection by a carriage return and a downward arrow, which is reversed by the up arrow. Trigger the completion prompt by Ctrl+space.And ultisnips is to use tab to do snipp
Vim (color scheme) and random color matchingColor Matching has a great impact on the coding experience, and in the process of using it vim , I have been usingmolokai– is considered the best color scheme ever.Later, it was gradually discoveredSolarized,Lucius and other excellent color scheme.For a while, the .vimrc default color of the individual is molokai , but
17. Vim Introduction, Vim color display and move cursor, VIM general mode move cursor, VIM general mode copy, cut and pasteI. Introduction of VIMVim:vi version of the upgrade, the difference is: VI when editing text will not display color, and vim will.Its configuration file
of 1024*768.5: The modified file must be updated and submitted.Command: sudo update-grubThen restart the system and complete the settings.
3. Change the vim color scheme in Linux
Knowledge points to be clarified:
Linux is a multi-user system. Different users have different logon permissions and vim configurations. each user has a _ vimrc configuration file, for example: /username/_ vimrc. When we configure
5.1 Vim Introduction 5.2 Vim color display and move cursor
5.3 Vim General mode move cursor
5.4 Vim General mode copy, cut and paste
Vim is an upgraded version of VIVim with color displayInstalling Vim:yum install-y vim
I. Introduction of VIMVim is a powerful text editor, the upgrade version of VI, with color display, the default has three modes: General mode, command mode, edit modeInstall Vim[Email protected] ~]# VIM/ETC/PASSWD-bash:vim: Command not found[Email protected] ~]#[email protected] ~]# Yum install-y vim-enhanced...second, color display, Move Cursor[[email protected
Vim note (6) -- a more comprehensive introduction of vim (for example, vim -- vim)
Vim configuration file~ /. Vimrc user's default configuration file ~ /. Vim/plugin/user's default script file storage directory ~ /.
-syntaX ' Bundle ' lokaltog/vim-easymotion ' Bundle ' Tomasr/molokai ' Bundle ' Klen/python-mode '
Then, open vim, enter: Bundleinstall or directly in the terminal input vim +bundleinstall +qall install Plug-ins.
Some plug-ins are relatively large, need to wait a period of time to download, installation completed.
://github.com/Shougo/neocomplete.vim.git .
Edit ~/.vimrc the file and join the line let g:neocomplete#enable_at_startup = 1 . This allows you to automatically turn on real-time completion when you start VIM.
Installing Molokai Themes
The author of the Vim-go plugin also wrote a VIM
Turn from: http://www.open-open.com/lib/view/open1414227253419.html
TagList Click on the Open link
TagList is a plug-in used to display various symbols in the locator, such as macro definitions, variable names, struct names, function names, which we call symbols (symbols), and in taglist they are called tag. Obviously, to the program file in the tag display, you need to know all the tag information, and save it in a file, and then to resolve the corresponding tag file. TagList do is only the
[Original] Vim's usage skills: only when used can we understand "the best IDE is Vim" and vim's usage skills.
Half a year ago, I was still wandering in IDE such as Eclipse and ZendStudio. However, for the use of Vim over the past six months, I have to say that Vim is more efficient. It takes time to configure your own Vim
[Vim] vim learning notes-open, switch, and close multiple files. vim learning notesOne case is to use vim in shell to open multiple files, and the other case is to open multiple files in the vim editor.Open multiple files at the same timeVim file1 file2Open the file and disp
Vim learning notes (1) -- vim operations and vim learning notes operations
Only record some of the most commonly used vim operations and update them at any timeText operations
D cut. Double-click to cut a row.
Copy y. Double-click to copy a row.
P Paste
X: Delete characters under the current cursor
R replaces th
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.